<?

session_start();
require("../../../include/connect.php");
$PAGE=NULL;


$query="SELECT user_id, user_login, user_mail, user_name, user_pname,user_tel
FROM _site_user WHERE user_id=$ID";
$resultat=mysql_query($query);
$tmp=mysql_fetch_array($resultat);
      echo $query;
$PAGE="<script>
       document.form_user_modif.user_login.value='$tmp[1]';
       document.form_user_modif.user_name.value='$tmp[3]';
       document.form_user_modif.user_pname.value='$tmp[4]';
       document.form_user_modif.user_mail.value='$tmp[2]';
       document.form_user_modif.user_tel.value='$tmp[5]';
</script>";



mysql_close();
echo "-";
echo $PAGE;





?>
